<html>
<head>
  <title>Solution Architecture - Dashboard</title>
  <meta name="layout" content="main"/>
  <resource:include components="lightBox" autoComplete="[skin: 'default']" />

  <style type="text/css" media="screen">

  #nav {
    margin-top: 20px;
    margin-left: 30px;
    width: 228px;
    float: left;

  }

  .homePagePanel * {
    margin: 0px;
  }

  .homePagePanel .panelBody ul {
    list-style-type: none;
    margin-bottom: 10px;
  }

  .homePagePanel .panelBody h1 {
    text-transform: uppercase;
    font-size: 1.1em;
    margin-bottom: 10px;
  }

  .homePagePanel .panelBody {
    background: url(images/leftnav_midstretch.png) repeat-y top;
    margin: 0px;
    padding: 15px;
  }

  .homePagePanel .panelBtm {
    background: url(images/leftnav_btm.png) no-repeat top;
    height: 20px;
    margin: 0px;
  }

  .homePagePanel .panelTop {
    background: url(images/leftnav_top.png) no-repeat top;
    height: 11px;
    margin: 0px;
  }

  h2 {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 1.2em;
  }

  #pageBody {
    margin-left: 280px;
    margin-right: 20px;
  }
  </style>
  

</head>
<body>
<div id="nav">
  <div class="homePagePanel">
    <div class="panelTop" align="right">
    </div>

    <div class="panelBody">
      <sec:ifLoggedIn>
        <h1>List</h1>
        <ul>
          <li><g:link controller="person" action="list">Roster</g:link></li>
          <li><g:link controller="project" action="list">Project</g:link></li>
          <li><g:link controller="projectDashboard" action="list">Dashboard</g:link></li>
        </ul>
        <h1>Add</h1>
        <ul>
          <li><g:link controller="person" action="create">Roster</g:link></li>
          <li><g:link controller="project" action="create">Project</g:link></li>
          <li><g:link controller="projectDashboard" action="create">Dashboard</g:link></li>
          <li><g:link controller="projectForecast" action="create">Forecast</g:link></li>
          <li><g:link controller="projectQuality" action="create">Quality</g:link></li>
          <li><g:link controller="projectRisks" action="create">Risks</g:link></li>
          <li><g:link controller="projectStatus" action="create">Current Status</g:link></li>
        </ul>
      </sec:ifLoggedIn>

      <sec:ifAnyGranted roles="IS_AUTHENTICATED_REMEMBERED">IS_AUTHENTICATED_REMEMBERED</sec:ifAnyGranted>
      <sec:ifAnyGranted roles="ROLE_SUPER_USER, ROLE_ADMIN_USER">
        <h1>Security & Management</h1>
        <ul>
          <li><g:link controller="user" action="list">Application Users</g:link></li>
          <li><g:link controller="authority" action="list">Roles</g:link></li>
          <li><g:link controller="userAuthority" action="list">User Role</g:link></li>
          <li><g:link controller="requestmap" action="list">ACL Management</g:link></li>
        </ul>
      </sec:ifAnyGranted>

      <h1>Other</h1>
      <ul>
        <sec:ifNotLoggedIn>
          <li>
            <g:link controller="login" action="auth">Login</g:link>
          </li>
        </sec:ifNotLoggedIn>
        <sec:ifLoggedIn>
          <li>
            <g:link controller="logout">Logout</g:link>
          </li>
        </sec:ifLoggedIn>
      </ul>
    </div>
    <div class="panelBtm"></div>
  </div>
</div>
<div id="pageBody">
  <sec:ifLoggedIn>
    <h1>Welcome to Solution Architecture</h1>
    <p>Use the navigation menu to move ahead</p>
  </sec:ifLoggedIn>

</div>
</body>
</html>
